package cn.lee.test.repository;

import cn.lee.test.common.base.repository.MyBaseJpaRepository;
import cn.lee.test.model.UserToken;
import org.springframework.stereotype.Repository;

/**
 * @author : lichl(李承霖)
 * create: 2022/2/23 23:26 周三
 */

@Repository
public interface UserTokenRepository extends MyBaseJpaRepository<UserToken, Long>{

  UserToken findByTokenString(String tokenString);
  
  UserToken findByUserId(Long user_id);
}
